package com.overseasShopping.pojo;

import java.util.Date;

import com.overseasShopping.pojo.User;

public class Complaint {
	private int id;
	private String title;
	private Date date;
	private String ctype;
	private String Cstate;
	private String contact;
	private String content;
	private User user;
	private Admin admin;
	private Advise advise;
	private Processes processes;
	public Complaint() {
		super();
	}
	

	public Processes getProcesses() {
		return processes;
	}


	public void setProcesses(Processes processes) {
		this.processes = processes;
	}


	public Advise getAdvise() {
		return advise;
	}

	public void setAdvise(Advise advise) {
		this.advise = advise;
	}

	public Complaint(int id) {
		super();
		this.id = id;
	}

	public Complaint(String title, Date date, String ctype, String cstate,
			String contact, String content, User user, Admin admin) {
		super();
		this.title = title;
		this.date = date;
		this.ctype = ctype;
		Cstate = cstate;
		this.contact = contact;
		this.content = content;
		this.user = user;
		this.admin = admin;
	}

	public Complaint(int id, String title, Date date, String ctype,
			String cstate, String contact, String content, User user,
			Admin admin) {
		super();
		this.id = id;
		this.title = title;
		this.date = date;
		this.ctype = ctype;
		Cstate = cstate;
		this.contact = contact;
		this.content = content;
		this.user = user;
		this.admin = admin;
	}

	public User getUser() {
		return user;
	}
	public String getCtype() {
		return ctype;
	}
	public void setCtype(String ctype) {
		this.ctype = ctype;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public Admin getAdmin() {
		return admin;
	}
	public void setAdmin(Admin admin) {
		this.admin = admin;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public String getCstate() {
		return Cstate;
	}
	public void setCstate(String cstate) {
		Cstate = cstate;
	}
	public String getContact() {
		return contact;
	}
	public void setContact(String contact) {
		this.contact = contact;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	
	
	
}
